package offer;

import java.util.Collection;

import javax.ejb.CreateException;
import javax.ejb.EJBLocalHome;
import javax.ejb.FinderException;

import recruiter.Recruiter;
import student.Student;

import company.Company;
import compsup.CompanySup;


public interface OfferHome extends EJBLocalHome{
	public Offer create(String name,String description, int type, String dateOfStart, String dateOfEnd, Company company,Recruiter recruiter,Student student, CompanySup companySup) throws CreateException;
	
	public Collection<Offer> findAllOffers() throws FinderException;
	public Offer findByPrimaryKey(int id) throws FinderException;
}
